|
| $Source: /ADFS::4/\044/Shared/unix/cvs/MiniDisc/Release/Currentbuild/!MiniDisc/!SCSetup/!Run,feb,v $
|
| $Revision: 1.6 $
| $Date: 2004/04/14 14:41:43 $
|
|
| Ensure application variables are all set via !Boot
/<Obey$Dir>.!Boot
|
| Ensure System resources have been seen by the filer.
If "<System$Path>"   = "" then Error 0 System resources cannot be found
If "<Wimp$ScrapDir>" = "" then Error 0 Scrap directory cannot be found
|
| Lock & Load required modules...
RMEnsure UtilityModule  3.10 Error MiniDisc requires RISC OS 3.10 or later
RMEnsure UtilityModule  5.00 RMEnsure CallASWI 0.03 RMLoad System:Modules.CallASWI
RMEnsure UtilityModule  5.00 RMEnsure CallASWI 0.03 Error MiniDisc requires CallASWI 0.03 or later
RMEnsure FPEmulator     4.03 RMLoad System:Modules.FPEmulator
RMEnsure FPEmulator     4.03 Error MiniDisc requires FPEmulator 4.03 or later
RMEnsure SharedCLibrary 5.17 RMLoad System:Modules.CLib
RMEnsure SharedCLibrary 5.45 Error MiniDisc requires SharedCLibrary 5.45 or later
RMEnsure FilterManager  0.09 RMLoad System:modules.FilterMgr
RMEnsure FilterManager  0.09 Error MiniDisc requires filter manager 0.09 or later
RMEnsure WindowManager  3.98 RMLoad System:Modules.Wimp
RMEnsure WindowManager  3.98 Error MiniDisc requires Window Manager 3.98 or later
|
| Default MiniDisc WimpSlot
WimpSlot -min 256k -max 256k
|
| Ensure that we know which version we should be running.
If "<MiniDisc$ImageName>" = "" Then Set MiniDisc$ImageName "Image"
|
| Rock n roll!
<MiniDisc$Dir>.bin.appfront 1
If "<Sys$ReturnCode>" = 0 Then <SCSetup$Dir>.!Run<MiniDisc$ImageName>
